package com.spring.primary_demo;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class App {
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring.xml");
		MyApplication myapplication = (MyApplication) context.getBean("myApplication");
		myapplication.doSomeThing();
	}
}
